﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace AnesSystem.Controls.CommonTables.CQ.RCYY
{
    /// <summary>
    /// ShuHouFangShiCtrl.xaml 的交互逻辑
    /// </summary>
    public partial class AnQuanHeChaCtrl : CustomCommonTableCtrl
    {
        public AnQuanHeChaCtrl()
        {
            InitializeComponent();
            IniteRadioButton();
            this.Loaded += AnQuanHeChaCtrl_Loaded;
        }

        private void AnQuanHeChaCtrl_Loaded(object sender, RoutedEventArgs e)
        {
            
            DataManager.Instance.IsNotNeedSaveData = false;
           

        }

        private void xmf_CheckChanged(object sender, RoutedEventArgs e)
        {
           
        }

        private void xms_CheckChanged(object sender, RoutedEventArgs e)
        {

        }
        private void IniteRadioButton()
        {
            new RadioButtonHelper().ChangeRadioSatus(aq1,aqs1);
            new RadioButtonHelper().ChangeRadioSatus(aq2,aqs2);
            new RadioButtonHelper().ChangeRadioSatus(aq3, aqs3);
            new RadioButtonHelper().ChangeRadioSatus(aq4, aqs4);
            new RadioButtonHelper().ChangeRadioSatus(aq5, aqs5);
            new RadioButtonHelper().ChangeRadioSatus(aq6, aqs6);
            new RadioButtonHelper().ChangeRadioSatus(aq7, aqs7);
            new RadioButtonHelper().ChangeRadioSatus(aq8, aqs8);
            new RadioButtonHelper().ChangeRadioSatus(aq9, aqs9);
            new RadioButtonHelper().ChangeRadioSatus(aq10, aqs10);
            new RadioButtonHelper().ChangeRadioSatus(aq11, aqs11);
            new RadioButtonHelper().ChangeRadioSatus(aq12, aqs12);
            new RadioButtonHelper().ChangeRadioSatus(aq13, aqs13);
            new RadioButtonHelper().ChangeRadioSatus(aq14, aqs14);
            new RadioButtonHelper().ChangeRadioSatus(aq15, aqs15);
            new RadioButtonHelper().ChangeRadioSatus(aq16, aqs16);

            new RadioButtonHelper().ChangeRadioSatus(aq17, aqs17);
            new RadioButtonHelper().ChangeRadioSatus(aq18, aqs18);
            new RadioButtonHelper().ChangeRadioSatus(aq19, aqs19);
            new RadioButtonHelper().ChangeRadioSatus(aq20, aqs20);
            new RadioButtonHelper().ChangeRadioSatus(aq21, aqs21);
            new RadioButtonHelper().ChangeRadioSatus(aq22, aqs22);
            new RadioButtonHelper().ChangeRadioSatus(aq23, aqs23);
            new RadioButtonHelper().ChangeRadioSatus(aq24, aqs24);
            new RadioButtonHelper().ChangeRadioSatus(aq25, aqs25);
            new RadioButtonHelper().ChangeRadioSatus(aq26, aqs26);
            new RadioButtonHelper().ChangeRadioSatus(aq27, aqs27);
            

        }
    }
}
